package com.desiy.dao;

import com.desiy.entity.User;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @author Desiy
 * @date 2020/9/18 14:16
 */
@Mapper
public interface UserDao {
    List<User> queryList();
    User queryById(int id);
    Boolean delete(int id);
    void update(User user);
    void insert(User user);
}
